* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #2d8cf0 0%, #19be6b 100%);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #2d8cf0 0%, #19be6b 100%);
  filter: blur(20px);
  opacity: 0.85;
  animation: pulseGlow 4s infinite alternate;
}
.player-container {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(10, 18, 36, 0.93);
  box-shadow: 0 0 20px 2px #2d8cf0, 0 0 30px 10px rgba(45, 140, 240, 0.2),
    0 0 0 6px rgba(255, 255, 255, 0.04) inset;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s;
  z-index: 2;
  backdrop-filter: blur(2px);
  border: 2px solid #2d8cf0;
  box-sizing: border-box;
}
.player-container.playing {
  box-shadow: 0 0 50px 6px #2d8cf0, 0 0 40px 12px rgba(45, 140, 240, 0.5),
    0 0 0 12px rgba(255, 255, 255, 0.07) inset;
  transform: scale(1.06);
  border-color: #2b85e4;
}
.player-container.paused {
  border-color: #2d8cf0;
}

.player-decoration {
  position: absolute;
  width: 92%;
  height: 92%;
  top: 4%;
  left: 4%;
  border-radius: 50%;
  border: 4px dashed rgba(45, 140, 240, 0.13);
  pointer-events: none;
  z-index: 2;
  animation: rotate 12s linear infinite;
  transition: border-color 0.3s;
  filter: drop-shadow(0 0 8px #2d8cf0);
}
.player-container.playing .player-decoration {
  border-color: #2b85e4cc;
  filter: drop-shadow(0 0 18px #2b85e4);
  animation-duration: 5s;
}

.song-info-wrapper {
  text-align: center;
  z-index: 3;
  pointer-events: none;
  position: relative;
}

.song-title {
  font-size: 2.1em;
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: 0 0 8px #2d8cf0b0, 0 0 22px rgba(25, 190, 107, 0.3);
  margin-bottom: 10px;
}
.song-artist {
  font-size: 1.16em;
  font-weight: 400;
  letter-spacing: 1px;
  text-shadow: 0 0 3px rgba(25, 190, 107, 0.5);
  transition: color 0.3s;
}

.divider {
  margin: 38px auto 0;
  width: 210px;
  height: 2px;
  background: linear-gradient(to right, #2d8cf0, #ff9900 65%, #2d8cf0);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(180, 124, 233, 0.5);
  opacity: 0.85;
}

.progress-wrapper {
  width: 300px;
  height: 6px;
  background: rgba(255, 255, 255, 0.13);
  margin-top: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(169, 115, 219, 0.3);
  position: relative;
  cursor: pointer;
  z-index: 30;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff9900 5%, #19be6b 95%);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(255, 20, 147, 0.5);
  transition: width 0.12s linear;
  position: absolute;
  left: 0;
  top: 0;
}

.progress-indicator {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #17233d 0%, #2db7f5 70%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  transition: left 0.12s linear;
  z-index: 10;
  opacity: 0.85;
}

.time-display {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-size: 1.1em;
  color: rgba(162, 94, 226, 0.6);
  width: 300px;
  user-select: none;
  letter-spacing: 1px;
  text-shadow: 0 0 4px rgba(199, 148, 247, 0.6);
}

.player-container::after {
  content: '';
  position: absolute;
  width: 88%;
  height: 88%;
  border-radius: 50%;
  top: 6%;
  left: 6%;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    #2d8cf0 0 60deg,
    #b085d8 120deg,
    #2d8cf0 180deg,
    #af74e6 300deg,
    #2d8cf0 360deg
  );
  opacity: 0.1;
  filter: blur(6px);
  z-index: 1;
  transition: opacity 0.3s;
}
.player-container.playing::after {
  opacity: 0.22;
}

.player-container,
.player-decoration {
  will-change: filter, box-shadow, transform;
}

@keyframes pulseGlow {
  0% {
    opacity: 0.7;
    filter: blur(50px);
  }
  100% {
    opacity: 1;
    filter: blur(30px);
  }
}
@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 450px) {
  .player-container,
  .progress-wrapper,
  .time-display {
    width: 90vw !important;
  }
  .player-container,
  .player-decoration {
    height: 90vw !important;
  }
  .glow-effect {
    width: 110vw;
    height: 110vw;
  }
}
